import request from "./request"

// 获取侧边栏数据

export const getCategoryList = (categoryId:number|string)=>request({url:`item/cateList.json?categoryId=${categoryId}`,method:'get'})

// 获取商品总数数据

export const getTotalNumber = () =>request({url:'xhr/search/getTotalNumbersOfProducts.json',method:'get'})